package JavaTest.extendsTest;

public class Pupil extends People{
    private double score;

    public Pupil(double score) {
        this.score = score;
    }

    public Pupil(String name, int age) {
        this.setName(name);
        this.setAge(age);
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}
